
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
    background: linear-gradient(to bottom, #f8f9fa, #e2e8f0);
    color: #1e2937;
    line-height: 1.75;
    min-height: 100vh;
}


header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 999;
    background: linear-gradient(to right, #1e3a8a, #1e40af);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.menu {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}



.menu button {
     flex: 1;
    max-width: 260px;
    text-align: center;
    padding: 16px 25px;
    background-color: #1e40af;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1.18rem;
    font-weight: 600;
    transition: all 0.35s ease;
    box-shadow: 0 6px 18px rgba(30, 64, 175, 0.35);
}



/* Contenido principal */
.contenido {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 25px;
}

h1 {
    text-align: center;
    font-size: 3.1rem;
    color: #1e3a8a;
    margin-bottom: 35px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.1);
}

h2 {
    font-size: 2.25rem;
    color: #1e40af;
    margin: 60px 0 25px;
    border-left: 7px solid #facc15;
    padding-left: 22px;
    background: linear-gradient(to right, #f8fafc, transparent);
    padding-top: 10px;
    padding-bottom: 10px;
}

p {
    font-size: 1.18rem;
    margin: 24px 0;
    text-align: justify;
}


.resaltado {
    color: #dc2626;
    font-weight: 700;
}

.resaltado-azul {
    color: #2563eb;
    font-weight: 700;
}


.resumen-tiempos {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    margin: 35px 0;
    text-align: center;
}

.lista-tiempos {
    display: inline-block;
    text-align: left;
    font-size: 1.35rem;
    margin-top: 15px;
}

.lista-tiempos li {
    margin: 12px 0;
}


.imagen-centro {
    text-align: center;
    margin: 45px 0;
}

.imagen-centro img {
    max-width: 85%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
    border: 4px solid #1e40af;
    transition: all 0.4s ease;
}

.imagen-centro img:hover {
    transform: scale(1.03);
}

.pie-imagen {
    margin-top: 15px;
    font-size: 1.08rem;
    color: #475569;
    font-style: italic;
}

/* Botones */
.fila-botones {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 70px 0 50px;
    flex-wrap: wrap;
}

.fila-botones a {
    flex: 1;
    max-width: 260px;
    text-align: center;
    padding: 16px 25px;
    background-color: #1e40af;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1.18rem;
    font-weight: 600;
    transition: all 0.35s ease;
    box-shadow: 0 6px 18px rgba(30, 64, 175, 0.35);
}

.fila-botones a:hover {
    background-color: #facc15;
    color: #1e3a8a;
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(250, 204, 21, 0.45);
}

.btn-centro { background-color: #334155 !important; }
.btn2 { background-color: #475569 !important; }



.pie-pagina {
  background: #1d3557;
  color: #f1faee;
  padding: 3.5rem 0 2rem;
  margin-top: 5rem;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
}

.footer-content {
  text-align: center;
}

.footer-logo h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  margin-bottom: 0.3rem;
  color: #a8dadc;
  letter-spacing: 1px;
}

.footer-logo p {
  font-size: 1.1rem;
  color: #a8dadc;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.contacto-footer {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 2.8rem;
  align-items: center;
}

.contact-item {
  color: #f1faee;
  text-decoration: none;
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  padding: 8px 20px;
  border-radius: 50px;
}

.contact-item:hover {
  background: rgba(255,255,255,0.1);
  transform: translateX(8px);
  color: #a8dadc;
}

.whatsapp:hover {
  background: #25D366;
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(168, 218, 220, 0.2);
  padding-top: 1.8rem;
  font-size: 0.95rem;
  color: #a8dadc;
}

.footer-bottom p {
  margin: 0.4rem 0;
  text-align: center;
}





/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.6rem; }
    h2 { font-size: 2rem; }
    
    .fila-botones a {
        max-width: none;
        width: 100%;
    }
    
    .imagen-centro img {
        max-width: 95%;
    }
}





/* Estilos normales (modo claro) ya los tienes definidos */

/* Modo oscuro */
body.dark-mode {
  background: #0f172a; /* azul oscuro casi negro */
  color: #f1f5f9;      /* texto claro */
}

body.dark-mode header {
  background: linear-gradient(to right, #0f172a, #1e293b);
}

body.dark-mode h1, 
body.dark-mode h2 {
  color: #facc15; /* amarillo dorado para resaltar títulos */
}

body.dark-mode .resaltado {
  color: #f87171; /* rojo suave */
}

body.dark-mode .resaltado-azul {
  color: #60a5fa; /* azul claro */
}

body.dark-mode .resumen {
  background: #1e293b;
  color: #f1f5f9;
}
